import 'package:flutter/material.dart';

class YSHAppTheme {

  // 1.共有属性
  static const double bodyFontSize = 14.0;
  static const double smallFontSize = 16.0;
  static const double mediumFontSize = 20.0;
  static const double largeFontSize = 24.0;

  // 2.普通模式
  static const Color lightTextColor = Colors.black;
  static final ThemeData lightThemeData = ThemeData(
    primarySwatch: Colors.pink,
    canvasColor: Colors.white,
    // textTheme: TextTheme(
    //   bodyText1: const TextStyle(fontSize: bodyFontSize),
    //   displaySmall: const TextStyle(fontSize: smallFontSize, color: lightTextColor),
    //   displayMedium: const TextStyle(fontSize: mediumFontSize, color: lightTextColor),
    //   displayLarge: const TextStyle(fontSize: largeFontSize, color: lightTextColor),
    // )
  );

  // 3.暗黑模式
  static const Color darkTextColor = Colors.black12;
  static final ThemeData darkThemeData = ThemeData(
      primarySwatch: Colors.pink,
      canvasColor: Colors.white,
      // textTheme: TextTheme(
      //   bodyText1: const TextStyle(fontSize: bodyFontSize),
      //   displaySmall: const TextStyle(fontSize: smallFontSize, color: lightTextColor),
      //   displayMedium: const TextStyle(fontSize: mediumFontSize, color: lightTextColor),
      //   displayLarge: const TextStyle(fontSize: largeFontSize, color: lightTextColor),
      // )
  );

}